<!-- 我的空提示 -->
<template>
	<view class="m-empty">
		<view class="img"></view>
		<view class="text">{{text}}</view>
	</view>
</template>

<script>
	export default {
		name:"mEmpty",
		data() {
			return {
				
			};
		},
		props: {
			text: {
				type: String,
				default: '暂无数据'
			}
		}
	}
</script>

<style lang="scss" scoped>
.m-empty {
	padding: 60rpx 0 40rpx;
	.img {
		margin: 0 auto;
		width: 200rpx;
		height: 200rpx;
		background: url('./empty.png') no-repeat center;
		background-size: contain;
	}
	.text {
		margin-top: 20rpx;
		text-align: center;
		color: #999;
		font-size: 24rpx;
	}
}
</style>